const columns = [{
    prop: 'title',
    label: '角色名称',
    width: 750
}, {
    label: '操作',
    width: 280,
    operations: [{
        prop: 'edit',
        label: '编辑',
        auId: 110104,
        icon: 'el-icon-edit-outline'
    }, {
        prop: 'delete',
        label: '删除',
        auId: 110105,
        icon: 'el-icon-circle-close-outline'
    }]
}]

const options = [{
    value: 'batchrefresh',
    label: '刷新'
}, {
    value: 'batchdelete',
    label: '批量删除'
}]


const addRoleFormItems = [{
        label: '角色名称',
        prop: 'title',
        name: 'input',
        validation: true
    },
    {
        label: '角色权限',
        prop: 'rightIds',
        name: 'tree',
        props: {
            children: 'children',
            label: 'title'
        },
        validation: true
    }
]

export default {
    columns,
    options,
    addRoleFormItems
}